package ar.edu.unq.wannaplay.tools;

import java.util.Arrays;
import java.util.List;

import org.apache.wicket.spring.injection.annot.SpringBean;

import ar.edu.unq.wannaplay.employee.Experience;
import ar.edu.unq.wannaplay.services.EmployeeService;

public class SkillSelector {
    private String name;

    private Experience experience;

    @SpringBean(name = "service.employeeService")
    private EmployeeService employeeService;

    private List<Experience> experiences;

    public SkillSelector() {
        experiences = Arrays.asList(this.getEmployeeService().findAllExperiences());
    }

    // getters&setters
    public Experience getExperience() {
        return experience;
    }

    public void setExperience(final Experience experience) {
        this.experience = experience;
    }

    public List<Experience> getExperiences() {
        return experiences;
    }

    public void setExperiences(final List<Experience> experiences) {
        this.experiences = experiences;
    }

    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    public void setEmployeeService(final EmployeeService employeeService) {
        this.employeeService = employeeService;
    }

    public EmployeeService getEmployeeService() {
        return employeeService;
    }
}
